package com.yugao.fintech.vctgone.admin.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(name = "角色菜单分配 DTO")
@Data
public class RoleMenuAllocationDTO {
    @Schema(description = "角色 ID")
    @NotNull(message = "角色 ID 不能为空")
    private Long roleId;

    @Schema(description = "菜单 ID 列表，多个以逗号分隔")
    private String menuIds;
}
